﻿<%@ Page Language="C#" AutoEventWireup="true"  EnableEventValidation = "false" CodeFile="main12_L1.aspx.cs" Inherits="main12" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link rel="stylesheet" type="text/css" href="css/reset-fonts-grids.css" />
    <link rel="stylesheet" type="text/css" href="css/menu.css" />
    <link rel="stylesheet" type="text/css" href="css/layout.css" />
   
</head>
<body>
    <form id="form1" runat="server">
     <div id="doc3" class="yui-t7" style="width: 1200px; margin: 0 auto; padding: 0 10px;">
        <div id="yui-main">
            <div class="yui-b">
                <div class="yui-g">
                    <table cellpadding="0" cellspacing="0" class="table_layout">
                        <tr>
                            <td class="td_t_l">
                            </td>
                            <td class="td_t">
                            </td>
                            <td class="td_t_r">
                            </td>
                        </tr>
                        <tr>
                            <td class="td_l">
                                &nbsp;
                            </td>
                            <td>
                                <div class="div_search">
                                </div>
                                <div class="div_date">
                                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                                    </asp:ScriptManager>
                                    <asp:Timer ID="Timer1" runat="server" Interval="60000" ontick="Timer1_Tick">
                                    </asp:Timer>
                                    <asp:GridView ID="GridView1" runat="server" CssClass="table_date" 
                                        onrowdatabound="GridView1_RowDataBound" AutoGenerateColumns="false" 
                                        AllowPaging="true" PageSize="6"  
                                        PagerSettings-Mode="Numeric" 
                                        onpageindexchanging="GridView1_PageIndexChanging">
                                        <HeaderStyle CssClass="GridViewHeaderStyle" HorizontalAlign="Left" 
                                            Wrap="False" />
                                        <RowStyle CssClass="GridViewRowStyle" />
                                        <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                                        <Columns>
                                            <asp:TemplateField HeaderText="线路名称">
                                                <ItemTemplate>
                                                    <asp:LinkButton CommandArgument='<%# Eval("线路名称") %>' Text='<%# Eval("线路名称") %>' runat="server" OnCommand="Detail_Command" CommandName="LineDetail" />
              
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="采样时间" HeaderText="采样时间" />
                                            <asp:BoundField DataField="实时电流" HeaderText="实时电流(A)" />
                                            <asp:BoundField DataField="导线温度" HeaderText="导线温度(℃)" />
                                            <asp:BoundField DataField="环境温度" HeaderText="环境温度(℃)" />
                                            <asp:BoundField DataField="在线状态" HeaderText="在线状态" />
                                            <asp:BoundField DataField="实时功率" HeaderText="实时功率(MW)" />
                                            <asp:BoundField DataField="总功率" HeaderText="总功率(MW)" />
                                            <asp:BoundField DataField="热稳限额" HeaderText="热稳限额(MW)" />
                                            <asp:BoundField DataField="功率限额" HeaderText="功率限额(MW)" />
                                            <asp:BoundField DataField="综合告警" HeaderText="综合告警" Visible="false" />
                                        </Columns>
                     
                                    </asp:GridView>
                                   
                                    
                                   
                                </div>
                                <div class="div_btn">
                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="a_btn" Text="导出EXCEL" 
                                        onclick="LinkButton1_Click"><em>导出EXCEL</em></asp:LinkButton>
                                    
                                    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="a_btn" Text="导出文本文件" 
                                        onclick="LinkButton2_Click"><em>导出文本文件</em></asp:LinkButton>
                                </div>
                                <div class="div_tips">
                                    淡绿色单元格表示超过1小时的装置测量数据；<br />
                                    规定限额是根据电网运行的要求给定的运行限额，热稳限额是增容系统根据实时监测数据计算得到的；<br />
                                    以上表格显示的规定限额值和热稳限额值都是考虑了N-1的情况。
                                </div>
                            </td>
                            <td class="td_r">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="td_b_l">
                            </td>
                            <td class="td_b">
                            </td>
                            <td class="td_b_r">
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
